package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 营销表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "activity")
public class Activity implements Serializable {
    public static final String COL_ACTIVITY_ID = "activity_id";
    public static final String COL_ACTIVITY_NAME = "activity_name";
    public static final String COL_ACTIVITY_PARTICIPATE = "activity_participate";
    public static final String COL_ACTIVITY_TYPE = "activity_type";
    public static final String COL_ACTIVITY_ADDRESS = "activity_address";
    public static final String COL_ACTIVITY_START_TIME = "activity_start_time";
    public static final String COL_ACTIVITY_END_TIME = "activity_end_time";
    public static final String COL_ACTIVITY_BROWSE = "activity_browse";
    public static final String COL_ACTIVITY_SUBMIT = "activity_submit";
    public static final String COL_PARENT_ID = "parent_id";
    public static final String COL_ACTIVITY_BUDGET_COSTPRICE = "activity_budget_costprice";
    public static final String COL_ACTIVITY_ACTUAL_COSTPRICE = "activity_actual_costprice";
    public static final String COL_ACTIVITY_BUDGET_INCOME = "activity_budget_income";
    public static final String COL_ACTIVITY_ACTUAL_INCOME = "activity_actual_income";
    public static final String COL_ACTIVITY_BRIEF = "activity_brief";
    public static final String COL_CREATE_USER_ID = "create_user_id";
    public static final String COL_ACTIVITY_IMG = "activity_img";
    public static final String COL_ACTIVITY_DETAIL_IMG = "activity_detail_img";
    public static final String COL_ACTIVITY_FORM = "activity_form";
    public static final String COL_ACTIVITY_STATE = "activity_state";
    /**
     * 活动编号
     */
    @TableId(value = "activity_id", type = IdType.INPUT)
    private Integer activityId;

    /**
     * 活动名称
     */
    @TableField(value = "activity_name")
    private String activityName;

    /**
     * 参与人
     */
    @TableField(value = "activity_participate")
    private Integer activityParticipate;

    /**
     * 活动类型
     */
    @TableField(value = "activity_type")
    private Integer activityType;

    /**
     * 活动地址
     */
    @TableField(value = "activity_address")
    private String activityAddress;

    /**
     * 开始时间
     */
    @TableField(value = "activity_start_time")
    private Date activityStartTime;

    /**
     * 结束时间
     */
    @TableField(value = "activity_end_time")
    private Date activityEndTime;

    /**
     * 浏览次数
     */
    @TableField(value = "activity_browse")
    private Integer activityBrowse;

    /**
     * 提交次数
     */
    @TableField(value = "activity_submit")
    private Integer activitySubmit;

    /**
     * 父级市场活动
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 活动预算成本
     */
    @TableField(value = "activity_budget_costprice")
    private BigDecimal activityBudgetCostprice;

    /**
     * 活动实际成本
     */
    @TableField(value = "activity_actual_costprice")
    private BigDecimal activityActualCostprice;

    /**
     * 活动预期收入
     */
    @TableField(value = "activity_budget_income")
    private BigDecimal activityBudgetIncome;

    /**
     * 活动实际收入
     */
    @TableField(value = "activity_actual_income")
    private BigDecimal activityActualIncome;

    /**
     * 活动简介
     */
    @TableField(value = "activity_brief")
    private String activityBrief;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "activity_create_time")
    private Date activityCreateTime;

    /**
     * 活动图片
     */
    @TableField(value = "activity_img")
    private Integer activityImg;

    /**
     * 详细图片
     */
    @TableField(value = "activity_detail_img")
    private Integer activityDetailImg;

    /**
     * 关联表单
     */
    @TableField(value = "activity_form")
    private Integer activityForm;

    /**
     * 状态(1,启用 2,停用)
     */
    @TableField(value = "activity_state")
    private Integer activityState;

    private static final long serialVersionUID = 1L;
}